<?php
/**
* @package   havefnu
* @subpackage havefnuportal
* @author    FoxMaSk
* @copyright 2008 FoxMaSk
* @link      http://www.havefnu.com
* @licence  http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file
*/
class membersZone extends jZone {
    protected $_tplname='members';

    protected function _prepareTpl(){
        
        $id_team = $this->param('id_team');
        
        $dao = jDao::get('havefnu~member');
        
        $members = $dao->findByIdTeam($id_team);
        
        $this->_tpl->assign('members',$members);
        $this->_tpl->assign('id_team',$id_team);
    }
}
